const Router = require('koa-router');

var router = new Router();

router.post('/add', (ctx) => {
  console.log(ctx.request.body)
  ctx.body = {
    code:1,
    data:ctx.request.body
  }
})

module.exports = router;